//
//  AccountWrapper.h
//  MoneyLog
//
//  Created by Max on 11-6-18.
//  Copyright 2011年 wicresoft. All rights reserved.
//

#import <Foundation/Foundation.h>


@interface AccountWrapper : NSObject {
    int         id;
    NSString    *name;
    double      moneyStart;
    double       money;
    NSString    *moneyKind;
    
    BOOL        alarmValid;
    double       moneyAlarm;
    
    double       moneyTransferIn;
    double       moneyTransferOut;
    
    double       moneyIncome;
    double       moneyExpense;
    
    BOOL         system;             //系统保留
    NSString     *type;
}

@property (assign)           int         id;
@property (nonatomic,retain) NSString    *name;
@property (assign)           double       money;
@property (assign)           double       moneyStart;
@property (nonatomic,retain) NSString    *moneyKind;

@property (assign)           BOOL        alarmValid;
@property (assign)           double       moneyAlarm;

@property (assign)           double       moneyTransferIn;
@property (assign)           double       moneyTransferOut;

@property (assign)           double       moneyIncome;
@property (assign)           double       moneyExpense;

@property (assign)           BOOL         system; 
@property (nonatomic,retain) NSString     *type;

@end

@interface AccountType : NSObject {
    int         id;
    NSString    *name;
}

@property (assign)           int         id;
@property (nonatomic,retain) NSString    *name;
@end
